<template>
	<view>
		<button @click="upload">11</button>
		<drop-files ref='drop' :show-button="true" ></drop-files>
		<uplaod-files ref='upload'></uplaod-files>
	</view>
</template>

<script>
	import DropFiles from '../../components/drop-files/drop-files.vue'
	import UploadFiles from '../../components/upload-files/uplaod-files.vue'
	export default {
		components:{'drop-files':DropFiles,'uplaod-files':UploadFiles},
		data() {
			return {
				
			};
		},
		methods:{
			upload(){
				this.$refs.drop.uploadAll();
				this.$refs.upload.uploadAll();
			}
		}
	}
</script>

<style lang="scss">

</style>
